<?php

ob_start();
session_start();
include("utils.php");
main_content("main();");

function main()
{
//=====================================================language=============================================
if($_SESSION['langname']=="")
{
	$language_url="languages/"."english".'/main_add_language.php';
}
else
{
	$language_url="languages/".$_SESSION['langname'].'/main_add_language.php';
}

include_once("$language_url");
//======================================================End============================================
?>
<table width="90%" class="center" cellspacing="0" cellpadding="0" align="center">
		  <tr>
			<td><img src="images/red_table_ltop.jpg" alt="" /></td>
			<td class="red_table_top"></td>
			<td><img src="images/red_table_rtop.jpg" alt="" /></td>
		  </tr>
		  <tr>
			<td class="red_table_LSide"></td>
			
			
			<!-- ban body part -->
			<td align="center" valign="top" class="inner_contentArea"><table width="99%" border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td align="left" valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0">
                    <tr>
                      <td align="left" valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0">
                          <tr>
                            <td width="20" align="left" valign="middle"><img src="images/header_left.gif" alt="" width="20" height="35" /></td>
                            <td align="left" valign="middle" class="header_mid_x alerts"><?php echo ADVERTISE_DASHBOARD; ?></td>
                            <td width="20" align="left" valign="middle"><img src="images/header_right.gif" alt="" width="20" height="35" /></td>
                          </tr>
                      </table></td>
                    </tr>
                    <tr>
                      <td align="left" valign="top">&nbsp;</td>
                    </tr>
                    <tr>
                      <td align="left" valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0">
                          <tr>
                            <td width="20" align="left" valign="middle"><img src="images/gray_left.gif" alt="" width="20" height="35" /></td>
                            <td align="left" valign="middle" class="gray_mid_x alerts"><a href="#"><?php echo ALERT_EXPIRING_ADS;?>(0)</a></td>
                            <td width="20" align="left" valign="middle"><img src="images/gray_right.gif" alt="" width="20" height="35" /></td>
                          </tr>
                      </table></td>
                    </tr>
                    <tr>
                      <td align="left" valign="top">&nbsp;</td>
                    </tr>
                    <tr>
                      <td align="left" valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0">
                          <tr>
                            <td align="left" valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0">
                                <tr>
                                  <td width="20" align="left" valign="middle"><img src="images/gray_left.gif" alt="" width="20" height="35" /></td>
                                  <td align="left" valign="middle" class="gray_mid_x alerts"><a href="#"><?php echo MANAGE_DIRECT_ADS;?></a></td>
                                  <td width="20" align="left" valign="middle"><img src="images/gray_right.gif" alt="" width="20" height="35" /></td>
                                </tr>
                            </table></td>
                          </tr>
                          <tr>
                            <td align="left" valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0">
                                <tr>
                                  <td width="6" align="left" valign="top"><img src="images/round_top_left.gif" alt="" width="12" height="12" /></td>
                                  <td align="left" valign="top" class="round_top_1">&nbsp;</td>
                                  <td width="6" align="right" valign="top"><img src="images/round_top_right.gif" alt="" width="12" height="12" /></td>
                                </tr>
                                <tr>
                                  <td width="6" align="left" valign="top" class="round_left_1">&nbsp;</td>
                                  <td align="left" valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0">
                                      <tr>
                                        <td width="160" align="left" valign="top"><span style="PADDING-RIGHT: 5px; VERTICAL-ALIGN: middle; TEXT-ALIGN: center"> <img src="images/show-chart-histogram.png" width="159" height="132" /></span></td>
                                        <td width="10" align="left" valign="top">&nbsp;</td>
                                        <td align="left" valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0">
                                            <tr>
                                              <td width="25" height="30" align="left" valign="middle"><a 
                        href="#"><img 
                        src="images/buying_space.gif" width="20" height="20" /></a></td>
                                              <td width="0" height="30" align="left" valign="middle" class="buy"><a href="#"><?php echo BUY_DIRECT_ADS;?></a></td>
                                            </tr>
                                            <tr>
                                              <td width="25" height="30" align="left" valign="middle"><a 
                        href="#"><img 
                        src="images/favorites.gif" width="20" height="20" /></a></td>
                                              <td width="0" height="30" align="left" valign="middle" class="buy"><a href="#"><?php echo MY_FAVOURITS;?> <span style="color:#990000;">6</span></a></td>
                                            </tr>
                                            <tr>
                                              <td width="25" height="30" align="left" valign="middle"><a 
                        href="#"><img 
                        src="images/stats.gif" width="20" height="20" /></a></td>
                                              <td width="0" height="30" align="left" valign="middle" class="buy"><a href="#"><?php echo DIRECT_ADS_STATES;?> <span style="color:#990000;">0</span></a></td>
                                            </tr>
                                            <tr>
                                              <td width="25" height="30" align="left" valign="middle"><a 
                        href="#"><img 
                        src="images/ad_purchases.gif" width="20" height="20" /></a></td>
                                              <td width="0" height="30" align="left" valign="middle" class="buy"><a href="#"> <?php echo AD_PURCHASE; ?></a></td>
                                            </tr>
                                        </table></td>
                                      </tr>
                                  </table></td>
                                  <td width="6" align="right" valign="top" class="round_right_1">&nbsp;</td>
                                </tr>
                                <tr>
                                  <td width="6" align="left" valign="bottom"><img src="images/round_btm_left.gif" alt="" width="12" height="12" /></td>
                                  <td align="left" valign="bottom" class="round_btm_1">&nbsp;</td>
                                  <td width="6" align="right" valign="bottom"><img src="images/round_btm_right.gif" alt="" width="12" height="12" /></td>
                                </tr>
                            </table></td>
                          </tr>
                      </table></td>
                    </tr>
                    <tr>
                      <td align="left" valign="top">&nbsp;</td>
                    </tr>
                    <tr>
                      <td align="left" valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0">
                          <tr>
                            <td align="left" valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0">
                                <tr>
                                  <td width="20" align="left" valign="middle"><img src="images/gray_left.gif" alt="" width="20" height="35" /></td>
                                  <td align="left" valign="middle" class="gray_mid_x alerts"><a href="#"><?php echo MANAGE_NETWORK_ADS;?></a></td>
                                  <td width="20" align="left" valign="middle"><img src="images/gray_right.gif" alt="" width="20" height="35" /></td>
                                </tr>
                            </table></td>
                          </tr>
                          <tr>
                            <td align="left" valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0">
                                <tr>
                                  <td width="6" align="left" valign="top"><img src="images/round_top_left.gif" alt="" width="12" height="12" /></td>
                                  <td align="left" valign="top" class="round_top_1">&nbsp;</td>
                                  <td width="6" align="right" valign="top"><img src="images/round_top_right.gif" alt="" width="12" height="12" /></td>
                                </tr>
                                <tr>
                                  <td width="6" align="left" valign="top" class="round_left_1">&nbsp;</td>
                                  <td align="left" valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0">
                                      <tr>
                                        <td width="160" align="left" valign="top"><span style="PADDING-RIGHT: 5px; VERTICAL-ALIGN: middle; TEXT-ALIGN: center"> <img src="images/show-chart-histogram.png" width="159" height="132" /></span></td>
                                        <td width="10" align="left" valign="top">&nbsp;</td>
                                        <td align="left" valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0">
                                            <tr>
                                              <td width="25" height="30" align="left" valign="middle"><a 
                        href="#"><img 
                        src="images/buying_space.gif" width="20" height="20" /></a></td>
                                              <td width="0" height="30" align="left" valign="middle" class="buy"><a href="#"><?php echo BUY_NETWORK_ADS ;?></a><br />
                                                <a href="#"><?php echo RUN_CAMPAIGN;?> <span style="color:#990000;">0</span></a></td>
                                            </tr>
                                            <tr>
                                              <td height="30" align="left" valign="middle">&nbsp;</td>
                                              <td height="30" align="left" valign="middle" class="buy">&nbsp;</td>
                                            </tr>
                                            <tr>
                                              <td width="25" height="30" align="left" valign="middle"><a 
                        href="#"><img 
                        src="images/stats.gif" width="20" height="20" /></a></td>
                                              <td width="0" height="30" align="left" valign="middle" class="buy"><a href="#"><?php echo NETWORK_ADS_STARTS;?><span style="color:#990000;"> 0</span></a><br />
                                                <a href="#"><?php echo CAMPAIN_STATES;?> <span style="color:#990000;">0</span> </a></td>
                                            </tr>
                                            <tr>
                                              <td width="25" height="30" align="left" valign="middle"><a 
                        href="#"><img 
                        src="images/ad_purchases.gif" width="20" height="20" /></a></td>
                                              <td width="0" height="30" align="left" valign="middle" class="buy"><a href="#"> <?php echo AD_PURCHASE; ?></a></td>
                                            </tr>
                                        </table></td>
                                      </tr>
                                  </table></td>
                                  <td width="6" align="right" valign="top" class="round_right_1">&nbsp;</td>
                                </tr>
                                <tr>
                                  <td width="6" align="left" valign="bottom"><img src="images/round_btm_left.gif" alt="" width="12" height="12" /></td>
                                  <td align="left" valign="bottom" class="round_btm_1">&nbsp;</td>
                                  <td width="6" align="right" valign="bottom"><img src="images/round_btm_right.gif" alt="" width="12" height="12" /></td>
                                </tr>
                            </table></td>
                          </tr>
                      </table></td>
                    </tr>
                    <tr>
                      <td align="left" valign="top">&nbsp;</td>
                    </tr>
                </table></td>
                <td width="20" align="left" valign="top">&nbsp;</td>
                <td align="left" valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0">
                    <tr>
                      <td align="left" valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0">
                          <tr>
                            <td width="20" align="left" valign="middle"><img src="images/header_left.gif" alt="" width="20" height="35" /></td>
                            <td align="left" valign="middle" class="header_mid_x alerts"><?php echo PUBLISHER_DASHBOARD;?></td>
                            <td width="20" align="left" valign="middle"><img src="images/header_right.gif" alt="" width="20" height="35" /></td>
                          </tr>
                      </table></td>
                    </tr>
                    <tr>
                      <td align="left" valign="top">&nbsp;</td>
                    </tr>
                    <tr>
                      <td align="left" valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0">
                          <tr>
                            <td width="20" align="left" valign="middle"><img src="images/gray_left.gif" alt="" width="20" height="35" /></td>
                            <td align="left" valign="middle" class="gray_mid_x alerts"><a href="#"><?php echo ALERTS_ADS_TO_APPROVED;?>(0)</a></td>
                            <td width="20" align="left" valign="middle"><img src="images/gray_right.gif" alt="" width="20" height="35" /></td>
                          </tr>
                      </table></td>
                    </tr>
                    <tr>
                      <td align="left" valign="top">&nbsp;</td>
                    </tr>
                    <tr>
                      <td align="left" valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0">
                          <tr>
                            <td align="left" valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0">
                                <tr>
                                  <td width="20" align="left" valign="middle"><img src="images/gray_left.gif" alt="" width="20" height="35" /></td>
                                  <td align="left" valign="middle" class="gray_mid_x alerts"><a href="#"><?php echo VIEW_EARNING; ?></a></td>
                                  <td width="20" align="left" valign="middle"><img src="images/gray_right.gif" alt="" width="20" height="35" /></td>
                                </tr>
                            </table></td>
                          </tr>
                          <tr>
                            <td align="left" valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0">
                                <tr>
                                  <td width="6" align="left" valign="top"><img src="images/round_top_left.gif" alt="" width="12" height="12" /></td>
                                  <td align="left" valign="top" class="round_top_1">&nbsp;</td>
                                  <td width="6" align="right" valign="top"><img src="images/round_top_right.gif" alt="" width="12" height="12" /></td>
                                </tr>
                                <tr>
                                  <td width="6" align="left" valign="top" class="round_left_1">&nbsp;</td>
                                  <td align="left" valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0">
                                      <tr>
                                        <td width="160" align="left" valign="top"><span style="PADDING-RIGHT: 5px; VERTICAL-ALIGN: middle; TEXT-ALIGN: center"> <img src="images/show-chart-histogram.png" width="159" height="132" /></span></td>
                                        <td width="10" align="left" valign="top">&nbsp;</td>
                                        <td align="left" valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0">
                                            <tr>
                                              <td width="25" height="30" align="left" valign="middle"><a 
                        href="#"><img 
                        src="images/buying_space.gif" width="20" height="20" /></a></td>
                                              <td width="0" height="30" align="left" valign="middle" class="buy"><a href="#"><?php echo EARNING_PAYMENTS; ?></a></td>
                                            </tr>
                                            <tr>
                                              <td width="25" height="30" align="left" valign="middle"><a 
                        href="#"><img 
                        src="images/favorites.gif" width="20" height="20" /></a></td>
                                              <td width="0" height="30" align="left" valign="middle" class="buy"><a href="#"><?php echo PUBLISHER_STATES ?>  <span style="color:#990000;"></span></a></td>
                                            </tr>
                                            <tr>
                                              <td width="25" height="30" align="left" valign="middle"><a 
                        href="#"><img 
                        src="images/stats.gif" width="20" height="20" /></a></td>
                                              <td width="0" height="30" align="left" valign="middle" class="buy"><a href="#"><?php echo MY_AFFILIATES ;?> <span style="color:#990000;">0</span></a></td>
                                            </tr>
                                            <tr>
                                              <td width="25" height="30" align="left" valign="middle"><a 
                        href="#"><img 
                        src="images/ad_purchases.gif" width="20" height="20" /></a></td>
                                              <td width="0" height="30" align="left" valign="middle" class="buy"><a href="#"> <?php echo SALES_HISTORY ;?></a></td>
                                            </tr>
                                        </table></td>
                                      </tr>
                                  </table></td>
                                  <td width="6" align="right" valign="top" class="round_right_1">&nbsp;</td>
                                </tr>
                                <tr>
                                  <td width="6" align="left" valign="bottom"><img src="images/round_btm_left.gif" alt="" width="12" height="12" /></td>
                                  <td align="left" valign="bottom" class="round_btm_1">&nbsp;</td>
                                  <td width="6" align="right" valign="bottom"><img src="images/round_btm_right.gif" alt="" width="12" height="12" /></td>
                                </tr>
                            </table></td>
                          </tr>
                      </table></td>
                    </tr>
                    <tr>
                      <td align="left" valign="top">&nbsp;</td>
                    </tr>
                    <tr>
                      <td align="left" valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0">
                          <tr>
                            <td align="left" valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0">
                                <tr>
                                  <td width="20" align="left" valign="middle"><img src="images/gray_left.gif" alt="" width="20" height="35" /></td>
                                  <td align="left" valign="middle" class="gray_mid_x alerts"><a href="#"><?php echo MANAGE_AD_SPACE_SITES;?></a></td>
                                  <td width="20" align="left" valign="middle"><img src="images/gray_right.gif" alt="" width="20" height="35" /></td>
                                </tr>
                            </table></td>
                          </tr>
                          <tr>
                            <td align="left" valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0">
                                <tr>
                                  <td width="6" align="left" valign="top"><img src="images/round_top_left.gif" alt="" width="12" height="12" /></td>
                                  <td align="left" valign="top" class="round_top_1">&nbsp;</td>
                                  <td width="6" align="right" valign="top"><img src="images/round_top_right.gif" alt="" width="12" height="12" /></td>
                                </tr>
                                <tr>
                                  <td width="6" align="left" valign="top" class="round_left_1">&nbsp;</td>
                                  <td align="left" valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0">
                                      <tr>
                                        <td width="160" align="left" valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0">
                                            <tr>
                                              <td width="25" height="30" align="left" valign="middle"><a 
                        href="#"><img 
                        src="images/ad_purchases.gif" width="20" height="20" /></a></td>
                                              <td width="0" height="30" align="left" valign="middle" class="buy">
                                                <a href="#"><?php echo EDIT_WEBSITE; ?> </a><br><span style="color:#990000;">(4 <?php echo ACTIVE;?>)</span></td>
                                            </tr>
                                            <tr>
                                              <td height="30" align="left" valign="middle">&nbsp;</td>
                                              <td height="30" align="left" valign="middle" class="buy">&nbsp;</td>
                                            </tr>
                                            <tr>
                                              <td width="25" height="30" align="left" valign="middle"><a 
                        href="#"><img 
                        src="images/stats.gif" width="20" height="20" /></a></td>
                                              <td width="0" height="30" align="left" valign="middle" class="buy">
                                                <a href="#"><?php echo AD_WEBSITE;?>  </a></td>
                                            </tr>

                                        </table></td>
                                        <td width="10" align="left" valign="top">&nbsp;</td>
                                        <td align="left" valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0">
                                            <tr>
                                              <td width="25" height="30" align="left" valign="middle"><a 
                        href="#"><img 
                        src="images/buying_space.gif" width="20" height="20" /></a></td>
                                              <td width="0" height="30" align="left" valign="middle" class="buy"> <a href="#"><?php echo EDIT_AD_SPACE;?> </a><br><span style="color:#990000;">(2 <?php echo ACTIVE;?>)</span></td>
                                            </tr>
                                            <tr>
                                              <td height="30" align="left" valign="middle">&nbsp;</td>
                                              <td height="30" align="left" valign="middle" class="buy">&nbsp;</td>
                                            </tr>
                                            <tr>
                                              <td width="25" height="30" align="left" valign="middle"><a 
                        href="#"><img 
                        src="images/stats.gif" width="20" height="20" /></a></td>
                                              <td width="0" height="30" align="left" valign="middle" class="buy"><a href="#"><?php echo ADD_AD_SPACE;?>  </a></td>
                                            </tr>

                                        </table></td>
                                      </tr>
                                  </table></td>
                                  <td width="6" align="right" valign="top" class="round_right_1">&nbsp;</td>
                                </tr>
                                <tr>
                                  <td width="6" align="left" valign="bottom"><img src="images/round_btm_left.gif" alt="" width="12" height="12" /></td>
                                  <td align="left" valign="bottom" class="round_btm_1">&nbsp;</td>
                                  <td width="6" align="right" valign="bottom"><img src="images/round_btm_right.gif" alt="" width="12" height="12" /></td>
                                </tr>
                            </table></td>
                          </tr>
                      </table></td>
                    </tr>
                    <tr>
                      <td align="left" valign="top">&nbsp;</td>
                    </tr>
                </table></td>
              </tr>
            </table></td>
			<!-- /ban body part -->			
			
			
			<td class="red_table_RSide"></td>
		  </tr>
		  <tr>
			<td><img src="images/red_table_lbottom.jpg" alt="" /></td>
			<td class="red_table_bottom"></td>
			<td><img src="images/red_table_rbottom.jpg" alt="" /></td>
		  </tr>
		</table>
<?php } ?>